<?php
class defult{
	function defult(){
	}
	function index(){
		$view=$this->jieku->getView();
		$view->add("username",$this->jieku->u[username]);
	}
	function login(){
		$view=$this->jieku->getView();
	}
	function unlogin(){
		setcookie('user_id','',time()-3600);
        setcookie('LIU_auth','',time()-3600);
        unset($_COOKIE,$this->jieku->cookie);
        $this->jieku->redirect('./?action=login');
	}
	function welcome(){
		 
		$view=$this->jieku->getView(); 
	}
	function testform(){
		$view=$this->jieku->getView();
	}
	function test(){
		
	}
}
?>